home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-27 | 1.0 KB | 30 lines | [TEXT/NTP1] |
- /*
- ** Newton Developer Technical Support Sample Code
- **
- ** Checkbook, a complete NewtApp sample
- **
- ** by Neil Rhodes, Calliope &
- ** Newton Developer Technical Support
- **
- ** Copyright © 1994-5 by Apple Computer, Inc. All rights reserved.
- **
- ** You may incorporate this sample code into your applications without
- ** restriction. This sample code has been provided "AS IS" and the
- ** responsibility for its operation is 100% yours. You are not
- ** permitted to modify and redistribute the source as "DTS Sample Code."
- ** If you are going to re-distribute the source, we require that you
- ** make it clear in the source that the code was descended from
- ** Apple-provided sample code, but that you've made changes.
- */
-
- InstallScript := func(partFrame)
- begin
- local mainLayout := partFrame.theForm;
-
- partFrame.removeFrame := mainLayout:NewtInstallScript(mainLayout);
- end;
-
- RemoveScript := func(partFrame)
- begin
- (partFrame.removeFrame):NewtRemoveScript(partFrame.removeFrame);
- end;